var assert = require('assert');
var should = require('should');
var util = require('util');
var _ = require('lodash');
var discountModel = require('../../app/models/discountModel.js');
var config = require('../config');

suite('测试WishtreeModel', function () {
    var wishtree_model;

    setup(function (done) {
        discountModel.getByRoleId(config.role_id, function (err, model) {
            assert.equal(err == null, true);
            discount_model = model;
            discount_model.toJSON();
            done();
        });
    });

    suite('addWishtreeNum', function () {
        test('增加已购买type', function (done) {
            // discount_model.addDiscountShopNum(4);
            // discount_model.save();
            done();
        });
    });
});
